import {ApiResponse, http, ListResponse, SearchKeyQueryParam} from 'slash-admin'

export const selectCurrentUserPermission = (appCode: string | null): Promise<ListResponse<any>> => {
  return http.doGet("/AuthApp/userContext/selectCurrentUserPermission", { appCode });
};